package com.test;

import org.openjdk.jol.info.ClassLayout;

import java.util.concurrent.TimeUnit;

/**
 * @Author HBZ
 * @Date 2020/7/24 15:43
 * @Description
 */
public class TTT<S> {
    private  S s;

    public <T> void fun(T t){
        System.out.println(t.toString());
    }
    public S getS() {
        return s;
    }

    public void setS(S s) {
        this.s = s;
    }


    static class Obj{
        char i;
    }
    public static void main(String[] args) throws InterruptedException {
//        TimeUnit.SECONDS.sleep(5);
//        Obj o = new Obj();
//        System.out.println(ClassLayout.parseInstance(o ).toPrintable());
       /* synchronized (o){
            System.out.println(ClassLayout.parseInstance(o ).toPrintable());
        }*/
    }
}
